package cn.gmcx.lazy.izze.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author GMCX
 * @since 2024-07-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("to_do")
public class ToDo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 待办id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id 分辨是哪个用户的待办
     */
    private Integer masterId;

    /**
     * 待办提醒的信息
     */
    private String message;

    /**
     * 待办的创建时间
     */
    private LocalDateTime createTime;

    /**
     * 待办的状态 0，1，2 待处理 同意 拒绝
     */
    private Integer status;

    /**
     * 被添加者id----只有关于关注的待办才需要填
     */
    private Integer followId;

    private  Integer type;

}
